<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>用户模块--客户公海</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css" />
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/css/input_tags.css" />
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/js/need/verfont.css" />
    <link rel="stylesheet" href="/js/need/select.2.0.css" />
    <link rel="stylesheet" href="/css/bootstrap-multiselect.css" type="text/css"/>
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/css/skin.css" />
    <!--子页面私有css-->
    <link rel="stylesheet" href="/css/customerManager/user/userCustomerPoolForm.css">
</head>
<body>
<div class="container-fluid">
    <div class="card m-b-0">
        <div class="card-header">
            <h1>客户公海</h1>
            <div class="card-actions">
                <div class="min-search" style="width: 360px;">
                    <input class="form-control" type="text" placeholder="请输入客户名称" id="customerName" name="customerName">
                    <button class="btn btn-primary" type="button" onclick="searchPool();">
                        <i class="mdi mdi-magnify"></i><span>搜索</span>
                    </button>
                </div>
            </div>
        </div>
        <div class="card-body">
            <input type="text" id="tabsStatus" value="0" hidden>
            <input type="text" id="spiderUrl" th:value="${spiderUrl}" hidden>
            <ul class="new-tabs" id="tabsBar">
                <li class="nav-item active"><a href="#!" data-value="0">全国客户公海</a></li>
                <li class="nav-item"><a href="#!" data-value="1">客户调转中心</a></li>
            </ul>
            <div id="screenBox" class="selector-box">
                <dl id="branchOfficeLabel">
                    <input type="text" value="" id="branchOffice" class="hidden">
                    <dt>分公司：</dt>
                    <dd></dd>
                </dl>
                <dl id="regionLabel">
                    <input type="text" value="" id="region" class="hidden">
                    <dt>地区：</dt>
                    <dd></dd>
                </dl>
                <dl id="tradeLabel">
                    <input type="text" value="" id="trade" class="hidden">
                    <dt>行业：</dt>
                    <dd></dd>
                </dl>
                <dl id="tagsLabel">
                    <input type="text" value="" id="hotTags" class="hidden">
                    <dt>标签：</dt>
                    <dd></dd>
                </dl>
            </div>
            <div id="screenTurnBox" style="display: none;position: relative">
                <div class="selector-box" style="padding: 20px">
                    <div style="display: flex;">
                        <div class="j_titleName">当前标签（可多选）：</div>
                        <div class="select-switchs">
                            <!--    <label><i class="round purple"></i><input type="checkbox" value="all" checked=""><span>高会高频率</span></label>
                                <label><i class="round green"></i><input type="checkbox" value="thisWeek" ><span>保持跟进中</span></label>
                                <label><i class="round blue"></i><input type="checkbox"  value="thisMonth" ><span>星级标签</span></label>
                                <label><i class="round orange"></i><input type="checkbox"  value="thisYear"><span>跟进中个人</span></label>-->
                        </div>
                        <p class="collapse-bar">
                            <a href="#!" id="isShow" class="pull-right" data-toggle="collapse" data-target="#j_filterContent" aria-expanded="false" aria-controls="filterContent" style="padding-top: 10px">展开<i class="mdi mdi-chevron-double-down"></i></a>
                        </p>
                    </div>
                    <div class="collapse filter-content" id="j_filterContent">
                        <div class="j_other">其他筛选条件</div>
                        <div class="row">
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="industryType">行业</label>
                                <div>
                                    <select name="industryType" id="industryType" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="enterpriseType">公司类型</label>
                                <div>
                                    <select name="enterpriseType" id="enterpriseType" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="approvalDate">成立年限</label>
                                <div class="clearfix custom-group">
                                    <select name="approvalDate" id="approvalDate" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                    <div class="custom-box">
                                        <label class="lyear-checkbox"><input type="checkbox"><span>自定义</span></label>
                                        <span class="unit">年</span>
                                        <div class="box">
                                            <input type="text" id="beginYearsEstablishment" name="beginYearsEstablishment" class="form-control">
                                            <input type="text" id="endYearsEstablishment" name="endYearsEstablishment" class="form-control">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="registCapital">注册资本</label>
                                <div class="clearfix custom-group">
                                    <select name="registCapital" id="registCapital" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                    <div class="custom-box">
                                        <label class="lyear-checkbox"><input type="checkbox"><span>自定义</span></label>
                                        <span class="unit">万</span>
                                        <div class="box">
                                            <input type="text" id="beginRegisteredCapital" name="beginRegisteredCapital" class="form-control">
                                            <input type="text" id="endRegisteredCapital" name="endRegisteredCapital" class="form-control">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="insuredTotal">参保人数</label>
                                <div class="clearfix custom-group">
                                    <select name=" insuredTotal " id="insuredTotal" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                    <div class="custom-box">
                                        <label class="lyear-checkbox"><input type="checkbox"><span>自定义</span></label>
                                        <span class="unit">人</span>
                                        <div class="box">
                                            <input type="text" id="beginInsuredNumbers" name="beginInsuredNumbers" class="form-control">
                                            <input type="text" id="endInsuredNumbers" name="endInsuredNumbers" class="form-control">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="isExistContactPersonPhone">是否有联系电话</label>
                                <div>
                                    <select name="isExistContactPersonPhone" id="isExistContactPersonPhone" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="isExistContactPerson">是否有联系人</label>
                                <div>
                                    <select name="isExistContactPerson" id="isExistContactPerson" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="isExistCompanyEmail">是否有联系邮箱</label>
                                <div>
                                    <select name="isExistCompanyEmail" id="isExistCompanyEmail" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="tags">标签</label>
                                <div>
                                    <input class="form-control" type="text" placeholder="请输入标签" id="tags" name="tags">
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="provinceName">省份</label>
                                <div>
                                    <select class="form-control" type="text" placeholder="请输入省份" id="provinceName" name="provinceName" onchange="changeProvince()"></select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="cityName">城市</label>
                                <div>
                                    <select class="form-control" type="text" placeholder="请输入城市" id="cityName" name="cityName" onchange="changeCity()"></select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="countyName">区/县</label>
                                <div>
                                    <select class="form-control" type="text" placeholder="请输入区/县" id="countyName" name="countyName"></select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="registStatus">目前状态</label>
                                <div>
                                    <select name="registStatus" id="registStatus" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="customerType">客户类型</label>
                                <div>
                                    <select name="customerType" id="customerType" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-6 col-md-4 col-sm-12 col-xs-12">
                                <label >&nbsp;</label>
                                <div class="text-right">
                                    <button class="btn btn-default" onclick="resetData(this);">重置</button>
                                    <button class="btn btn-primary" type="button" id="turnSearch"><i class="mdi mdi-magnify"></i><span>搜索</span></button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <table id="customerTable"></table>
        </div>
    </div>
</div>

</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js">
</script>

<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script src="/js/crm/common/city.js"></script>
<script src="/js/crm/common/common.js"></script>
<script src="/js/crm/common/input-tag.js"></script>
<!-- 多选框下拉 -->
<script src="/js/verSelect.2.0.js"></script>
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<script src="/js/crm/customerManager/user/userCustomerPoolForm.js"></script>
</html>